# Maintainer: Marian Buschsiewke <marian.buschsieweke@ovgu.de>
pkgname=qscintilla
pkgver=2.11.5
pkgrel=0
pkgdesc="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control"
url="https://www.riverbankcomputing.com/software/qscintilla"
arch="all"
license=" GPL-3.0-only"
subpackages="$pkgname-dev"
makedepends="qt5-qtbase-dev"
source="https://www.riverbankcomputing.com/static/Downloads/QScintilla/$pkgver/QScintilla-$pkgver.tar.gz"
builddir="$srcdir/QScintilla-$pkgver/Qt4Qt5"

build() {
	qmake-qt5
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install -j1
}

sha512sums="46bc3c896b4ab71fbcc821ce3a248ecc4200378e0b621adef8d39092f940928806c76abe529b7f27ce4280e7e49091d8cbeafe6f303ca85cf5675df2887fd99b  QScintilla-2.11.5.tar.gz"
